Add support for wss if we are connected to the site using TLS (https).