Fixing the ssl with websocket