- made http client usage uniform (using logicblox TCPTransport method)

- cleaned up some exception handling