ported from s3gof3r

This client is useful for any long running http requests, not just S3.

See: https://github.com/rlmcpherson/s3gof3r/blob/1e759738ff170bd0381a848337db677dbdd6aa62/http_client.go