Add an HttpClient class

This gives the benefit of being able to read the proxy.config
file in once, rather than for every request.