Move socket reading into child thread

DISCLAIMER - I have not tested this!
---------

This *might* fix https://github.com/bloocoin/bloocoin-server/issues/11. It moves the socket reading into a child thread, which should help prevent DoS attacks, and really improve the general performance.