# File lib/puppet/network/xmlrpc/client.rb, line 163
163:         def initialize(hash = {})
164:             hash[:Path] ||= "/RPC2"
165:             hash[:Server] ||= Puppet[:server]
166:             hash[:Port] ||= Puppet[:masterport]
167:             hash[:HTTPProxyHost] ||= Puppet[:http_proxy_host]
168:             hash[:HTTPProxyPort] ||= Puppet[:http_proxy_port]
169: 
170:             if "none" == hash[:HTTPProxyHost]
171:                 hash[:HTTPProxyHost] = nil
172:                 hash[:HTTPProxyPort] = nil
173:             end
174: 
175:             super(
176:                 hash[:Server],
177:                 hash[:Path],
178:                 hash[:Port],
179:                 hash[:HTTPProxyHost],
180:                 hash[:HTTPProxyPort],
181:                 nil, # user
182:                 nil, # password
183:                 true, # use_ssl
184:                 Puppet[:configtimeout] # use configured timeout (#1176)
185:             )
186:             @http = Puppet::Network::HttpPool.http_instance(@host, @port)
187:         end