Added @socket wrapper for pure websocket endpoints.
Updated example code in README.rst.