Added ability to start a TLS connection