private static SSLEngineResult.HandshakeStatus pendingStatus(int pendingOutboundBytes) {
        // Depending on if there is something left in the BIO we need to WRAP or UNWRAP
        return pendingOutboundBytes > 0 ? NEED_WRAP : NEED_UNWRAP;
    }
Returns the hostname from {@link #setHostname(String)} or supplied by the
{@link PeerInfoProvider} upon creation. No DNS resolution is attempted before
returning the hostname.
common/src/main/java/org/conscrypt/ConscryptEngine.java