HF RL Explorer

Refactor cookie parsing/dumping and the test client cookie handling

Refactor cookie parsing/dumping and the test client cookie handling: a task in deepagent (Harbor dataset). The cookie utilities and the test client's cookie support need a modernization pass. The goal is faster, cleaner cookie handling that aligns with real browser behavior and drops the…

The task

The cookie utilities and the test client's cookie support need a modernization pass. The goal is faster, cleaner cookie handling that aligns with real browser behavior and drops the dependency on `http.cookiejar` in the test client.

Part of BaseIntelligence/deepagent.