made change to allow for upstream HTTP proxies on Client