docs: function getApiKey(req) {
      if (!req.headers.cookie) return null;
  
      var cookieArray = req.headers.cookie.split("; ");
      for (var i = 0; i < cookieArray.length; i++) {
          var parts = cookieArray[i].split("=");
          if (parts[0] === cookieKey) return parts[1];
      }
      return null;
  }