pub async fn handshake<S: IO>( conn_config: ConnectConfiguration, domain: &str, io: S ) -> Result<SslStream<S>>
Perform the TLS handshake for the given connection with the given configuration