Add setDomain() method to Cookie class.

It might be useful to define the domain in the cookie.