'Create an instance of XmlStream.
A new authenticator instance will be created and passed to the new
XmlStream. Registered bootstrap event observers are installed as well.'

def buildProtocol(self, addr):

    authenticator = self.authenticatorFactory()
    xs = self.protocol(authenticator)
    xs.factory = self
    self.installBootstraps(xs)
    return xs
