Generalize host url for websocket from client