check for https in websocket.clientUrl