code: def __make_server(self):
          "Make this node a server"
          notice('Making server, getting listening socket', self.color)
          self.mode = 's'
          sock = utils.get_server_sock()
          self.__s = sock
          with self.__client_list_lock:
              self.clients = deque()
          self.threads = deque()
          notice('Making beacon', self.color)
          b = Thread(target=self.__beacon_thread, name='beacon')
          b.start()
          self.threads.append(b)
          l = Thread(target=self.__listen_thread, name='listen')
          notice('Starting listen thread', self.color)
          l.start()
          self.threads.append(lf __make_server(self):
          "Make this node a server"
          notice('Making server, getting listening socket', self.color)
          self.mode = 's'
          sock = utils.get_server_sock()
          self.__s = sock
          with self.__client_list_lock:
              self.clients = deque()
          self.threads = deque()
          notice('Making beacon', self.color)
          b = Thread(target=self.__beacon_thread, name='beacon')
          b.start()
          self.threads.append(b)
          l = Thread(target=self.__listen_thread, name='listen')
          notice('Starting listen thread', self.color)
          l.start()
          self.threads.append(l)
docs: Make this node a server