use external address for websocket uri