- Added threaded method
- Fixed bug in acceptConnection