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.