new (HTTPClient)

    # File lib/httpclient.rb, line 336
      def initialize(*args)
        proxy, agent_name, from = keyword_argument(args, :proxy, :agent_name, :from)
        @proxy = nil        # assigned later.
        @no_proxy = nil
        @www_auth = WWWAuth.new
        @proxy_auth = ProxyAuth.new
        @request_filter = [@proxy_auth, @www_auth]
        @debug_dev = nil
        @redirect_uri_callback = method(:default_redirect_uri_callback)
        @test_loopback_response = []
        @session_manager = SessionManager.new(self)
        @session_manager.agent_name = agent_name
        @session_manager.from = from
        @session_manager.ssl_config = @ssl_config = SSLConfig.new(self)
        @cookie_manager = WebAgent::CookieManager.new
        @follow_redirect_count = 10
        load_environment
        self.proxy = proxy if proxy
      end