def buildProtocol(self, addr):
        """
        Build the broker instance, passing the security options to it.
        """
        p = self.protocol(isClient=True, security=self.security)
        p.factory = self
        return p

        Build the broker instance, passing the security options to it.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/spread/pb.py