Updated WebSockets API documentation