Added a generic websocket client.  Borrowed most of the code from php-websocket.  It works, but the code needs to be refactored and updated quite a bit.