added some documentation for a simple websocket connection