'Start the authentication thread'

def start(self):

    self.pipe = self.context.socket(zmq.PAIR)
    self.pipe.linger = 1
    self.pipe.bind(self.pipe_endpoint)
    self.thread = AuthenticationThread(self.context, self.pipe_endpoint, encoding=self.encoding, log=self.log)
    self.thread.start()
    if (sys.version_info < (2, 7)):
        self.thread.started.wait(timeout=10)
    elif (not self.thread.started.wait(timeout=10)):
        raise RuntimeError('Authenticator    thread    failed    to    start')
