Removing debug modifications
Added Socket close on read error, fixed timeouts
Merge branch 'dev' of github.com:paullouisageneau/TeapotNet into dev