refactoring ClientInstance class
Merge branch 'master' of https://github.com/jonghough/Basic_websocket_client