TlsStream.handshake
HandshakeResult handshake() @trustedPerform the TLS handshake.
This method initiates or continues the TLS handshake. It may need to be called multiple times until the handshake completes.
Returns
HandshakeResult indicating the current handshake state.