HttpClient: Extract http_client module out of ddfs_http.

The operations in this module are general and can be used for filesystem
operations other than ddfs.
Fixup for hdfs module.