TlsStream.handshake
Perform TLS handshake.
This is a non-blocking operation. It may return inProgress if it needs more data or the ability to write. The caller should register for the appropriate I/O events and call handshake() again when ready.
Returns
Handshake result indicating completion, continuation, or failure.