Use a configurable http client in requests