http.request wrapper with request retries and http.Agent tuning