python websocket sample