variable websocket endpoint