'Args:
proxy_type: The type of proxy server.  This must be set to one of
socks.PROXY_TYPE_XXX constants.  For example:
p = ProxyInfo(proxy_type=socks.PROXY_TYPE_HTTP,
proxy_host=\'localhost\', proxy_port=8000)
proxy_host: The hostname or IP address of the proxy server.
proxy_port: The port that the proxy server is running on.
proxy_rdns: If True (default), DNS queries will not be performed
locally, and instead, handed to the proxy to resolve.  This is useful
if the network does not allow resolution of non-local names.  In
httplib2 0.9 and earlier, this defaulted to False.
proxy_user: The username used to authenticate with the proxy server.
proxy_pass: The password used to authenticate with the proxy server.'

def __init__(self, proxy_type, proxy_host, proxy_port, proxy_rdns=True, proxy_user=None, proxy_pass=None):

    self.proxy_type = proxy_type
    self.proxy_host = proxy_host
    self.proxy_port = proxy_port
    self.proxy_rdns = proxy_rdns
    self.proxy_user = proxy_user
    self.proxy_pass = proxy_pass
