async fn connect( server: &Server, ) -> Result<Client<TlsStream<TcpStream>>, SyncError>
Connects and encrypts, up to the server’s greeting.