updating websocket examples and documentation