@Override
    public void bind(SocketAddress bindpoint) throws IOException {
        if (isDelegating()) {
            socket.bind(bindpoint);
        } else {
            super.bind(bindpoint);
        }
    }
Try to extract the peer's hostname if it's available from the endpoint address.
common/src/main/java/org/conscrypt/AbstractConscryptSocket.java