<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def connect(self, target, acceptor):
 """ Initiate a connection from the tendril manager's endpoint. Once the connection is completed, a UDPTendril object will be created and passed to the given acceptor. :param target: The target of the connection attempt. :param acceptor: A callable which will initialize the state of the new UDPTendril object. """


        # Call some common sanity-checks
        super(UDPTendrilManager, self).connect(target, acceptor, None)

        # Construct the Tendril
        tend = UDPTendril(self, self.local_addr, target)

        try:
            # Set up the application
            tend.application = acceptor(tend)
        except application.RejectConnection:
            # The acceptor raised a RejectConnection
            return None

        # OK, let's track the tendril
        self._track_tendril(tend)

        # Might as well return the tendril, too
        return tend