Added support for TLS websockets