code: def _reset(self):
          
          ClientStream._reset(self)
          self.available_auth_methods = None
          self.auth_stanza = None
          self.registration_callback = None
docs: Reset the `LegacyClientStream` object state, making the object ready
          to handle new connections.