Update the cookie database. CookieData is the value of the
Set-Cookie field, Parts is the broken-down request (see
uri_components/2) and Options is the list of options passed to
http_open.
See also
- complements http:write_cookies
- library(http/http_cookies) implements cookie handling on
top of these hooks.