'Return proxy address to connect to as tuple object'

def _proxy_addr(self):

    (proxy_type, proxy_addr, proxy_port, rdns, username, password) = self.proxy
    proxy_port = (proxy_port or DEFAULT_PORTS.get(proxy_type))
    if (not proxy_port):
        raise GeneralProxyError('Invalid    proxy    type')
    return (proxy_addr, proxy_port)
