Switch websocket url to the loopback.