Fix has cookie handling for domains that have less than two dots
Merge pull request #75 from chuckdumont/master

Fix has cookie handling for domains that have less than two dots