Fixed bugs in disconnection of sockets and error handling
Merge branch 'master' of https://github.com/ironyx/simplsockets