async postAllocate(cookie) {
    const tid = this._ids.get(cookie.id);
    return await log.trace.complete({ data: cookie, id: tid }, `post-allocate: ${cookie.id}`, async () => {
      const updatedCookie = typeof this._driver.postAllocate === 'function'
        ? await this._driver.postAllocate(cookie)
        : undefined;

      return updatedCookie || cookie;
    });
  }
@param {DeviceCookie} cookie
@returns {Promise<DeviceCookie>}