use host from request for websocket connection