Added domain to cookies
Release 0.8.1
Correctly gets domain for cookie