'This is callback that is used to pass the received stanza forth to owner\'s dispatcher
_if_ the stream is authorised. Otherwise the stanza is just dropped.
The \'trusted\' argument is used to emulate stanza receive.
This method is used internally.'

def _dispatch(self, stanza, trusted=0):

    self._owner.packets += 1
    if ((self._stream_state == STREAM__OPENED) or trusted):
        self.DEBUG(stanza.__str__(), 'dispatch')
        stanza.trusted = trusted
        return self.Dispatcher.dispatch(stanza, self)
