docs: def connect(self):
          """ Connect sets up the connection with the Horizon box. """
          self.con = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
          self.con.connect((self.ip, self.port))
  
          log.debug('Connected with set-top box at %s:%s.',
                    self.ip, self.port)