Not spinning forever doing a socket recv after the other side has closed the connection.
Adding test for connection closing handling, back to 100% code coverage.
PEP8 compliance.
Merge pull request #7 from derpston/master

Fix for spinning forever doing a socket recv after serf stops/restarts.