docs: @Nonnull
    public static Cookie createCookie (@Nonnull final String sName,
                                       @Nullable final String sValue,
                                       final String sPath,
                                       final boolean bExpireWhenBrowserIsClosed)
    {
      final Cookie aCookie = new Cookie (sName, sValue);
      aCookie.setPath (sPath);
      if (bExpireWhenBrowserIsClosed)
        aCookie.setMaxAge (-1);
      else
        aCookie.setMaxAge (DEFAULT_MAX_AGE_SECONDS);
      return aCookie;
    }