1. cookiestore api: set: `maxage` option

  2. headers http header: set-cookie: max-age