fix websocket URL.