A socket that is wrapped in a file-like object must be set to blocking.

fixes #124

The python documentation mentions that the socket mode must be set to blocking when wrapped in a file interface with makefile(). For example, here: http://bugs.python.org/issue7322

This change resolves the issue on push for me.