Added setCookieDomain option

now is possible to set a custom domain for the cookie.