property
tls.TLSSocket.servername
servername: null | string | false
The SNI (Server Name Indication) host name associated with the socket. This is null before the handshake completes. Once the handshake completes it settles as either the host name string, or false if SNI was not used.