Treat websocket creation as Ring middleware