Set the Content-Type header when submitting a urlencoded form.
Make Document::url return the page's URL to avoid stale URLs after redirects.
Improve redirect behaviour to clear headers and reevaluate sent cookies. Implement storage-related cookie behaviour such as domain and path matching that cookie-rs doesn't require. Remove stored cookies when an empty value is stored. Document cookie code.