Fixed bug on sock_read. It returns 0 when an error reading occurs, and this situation was not being controlled.
Fixed sock_read on Windows when returning cero
Fixed coding style
Changed TimedOut error to Conn Reset
Updated file format
Fixed Indenting
Merge pull request #42 from luiscuriel/master

Solved bug with recv on Windows. Fixed indenting