'Create an instance of XmlStream.
The returned instance will have bootstrap event observers registered
and will proceed to handle input on an incoming connection.'

def buildProtocol(self, addr):

    xs = self.protocol(*self.args, **self.kwargs)
    xs.factory = self
    self.installBootstraps(xs)
    return xs
