REST-like syntax for WebSockets