improved handling of connection errors, closing handshake timeout
added tinycthread, some work on c++ Websocket class
work on c++ API