Minimal support for the KT binary protocol.

There is already a Python client library for Kyoto Tycoon (partially) supporting the binary protocol instead of the HTTP protocol(*) but its API is slightly different. This set of changes basically merge part of his code into this library with minimal modifications.

It also brings in a small fix to the HTTP protocol from another fork.

(*) http://www.ulrichmierendorff.com/software/kyoto_tycoon/python_library.html