cookies: support the publicsuffix list
cookie: remove redundant  localhost case
Merge pull request #382 from segmentio/fix/public-suffix

cookies: support the publicsuffix list