void setHostname(String hostname) {
        peerHostname = hostname;
    }
This method enables Server Name Indication

@param hostname the desired SNI hostname, or null to disable
common/src/main/java/org/conscrypt/AbstractConscryptSocket.java