Add connection object to http client library and move it to the top-level
To simplify the use of the library for callers add a http connection abstraction and associated functions http_connect_send/recv().
This is going to be used by the s3 RPC server soonish...