Factor out newHTTPGETRequest and simplify httpGet test helper functions
RequestModifyingTransport to allow modifying HTTP requests issued by libraries whose only configuration point is an http.Client or http.RoundTripper