Allow a custom instance of DefaultHttpClient to be specified