Don't use `socket.makefile()`.

Makefile creates new fd on Python 2.
http://hg.python.org/cpython/file/026ee0057e2d/Modules/socketmodule.c#l2369
This commit reduces two fds per connection.
Merge pull request #1 from methane/remove-makefile

Don't use `socket.makefile()`.
Run reindent.py
Merge pull request #2 from methane/reindent

Reindent
Fix nested `ProgramError(ProgramError(...))` raised.