Issue #19870: BaseCookie now parses 'secure' and 'httponly' flags.

Backport of issue #16611.