Adding a name check to avoid unwanted exceptions.
Fixed parenthesis placement
Fixed broken copyright character
Merge pull request #339 from brock8503/cookienameexception

Adding a name check to avoid unwanted cookie exceptions.