Allow configuring the httpclient