'Plug the Dispatcher instance into Client class instance and send initial stream header. Used internally.'

def plugin(self, owner):

    self._init()
    for method in self._old_owners_methods:
        if (method.__name__ == 'send'):
            self._owner_send = method
            break
    self._owner.lastErrNode = None
    self._owner.lastErr = None
    self._owner.lastErrCode = None
    self.StreamInit()
