First version of WebSocket server decorator