use an interface instead of an *http.Client