make the http client library independent