fixed memoryleaks
removed blocking on accept, you should now be able to close the ListenForConnections thread
* Moved some stuff around
* Enabled TCP_NODELAY once again