Fix websocket route for stateful client