'Execute the appropriate handler for a transfer request.
Arguments:
iq -- The Iq stanza containing the OOB transfer request.'

def _run_url_handler(self, iq):

    if (iq['to'] in self.url_handlers['jid']):
        return self.url_handlers['jid'][iq['to']](iq)
    elif self.url_handlers['global']:
        self.url_handlers['global'](iq)
    else:
        raise XMPPError('service-unavailable')
