add cookieDomain option, update cookie.create with domain param