Pass websocket URL in from template