@Override
    public HandshakeStatus getHandshakeStatus() {
        synchronized (ssl) {
            return getHandshakeStatusInternal();
        }
    }
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