Implement cookie expiration.

Only when a cookies domain, path, and name match the previous
values should a cookie be cleared when expires is in the past.