use HTTPConnection as the base class for proxy