Implement cookie jar: Set-Cookie parsing, storage, and document.cookie
Adds a full RFC 6265bis cookie implementation:
- Set-Cookie header parsing with all attributes (Domain, Path, Expires,
Max-Age, Secure, HttpOnly, SameSite)
- CookieJar with domain/path matching, expiry, per-domain and total limits
- Automatic cookie attachment to outgoing HTTP requests and storage from
responses in HttpClient
- document.cookie getter/setter in the JS-DOM bridge (HttpOnly cookies
hidden from JS, JS cannot set HttpOnly cookies)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>