Python implementation of a WebSocket command line client