add support for optional query params via websocket protocol