def service(req, res)
      if req.request_method == "CONNECT"
        do_CONNECT(req, res)
      elsif req.unparsed_uri =~ %r!^http://!
        proxy_service(req, res)
      else
        super(req, res)
      end
    end
def service(req, res)
      if req.request_method == "CONNECT"
        do_CONNECT(req, res)
      elsif req.unparsed_uri =~ %r!^http://!
        proxy_service(req, res)
      else
        super(req, res)
      end
    end
Proxy server configurations.  The proxy server handles the following
 configuration items in addition to those supported by HTTPServer:

 :ProxyAuthProc:: Called with a request and response to authorize a
                  request
 :ProxyVia:: Appended to the via header
 :ProxyURI:: The proxy server's URI
 :ProxyContentHandler:: Called with a request and response and allows
                        modification of the response
 :ProxyTimeout:: Sets the proxy timeouts to 30 seconds for open and 60
                 seconds for read operations
 :stopdoc: