- fixed thread support - uses C++11 threads
- fixed MORE flag detection on sockets