I feel like this (and the code below it) should really be moved into the transport layer. e.g. `RiakHTTPSConnection` could be moved into `riak/transports/http/__init__.py` or into a new file in that same directory. If both the PB and HTTP connection rely on the same code from this (current) module, that could be placed in an existing or new module in `riak/transports/`.