Force https for websocket and http for other transports