dynamically pull websocket location from browser location. To support using different ports on the backend
change deploy to internal port 80