hmm. a lot of w3m-cookie.el appears to have been copied (without attribution) from url-cookie.el.