allow users to pass in the httpclient to use for swf