Fixed permanent "connection refused" server coma condition

Added more detailed error handling around server's accept()
Merge pull request #171 from ijon/master

Fixed permanent "connection refused" server coma condition