Fixed issue when cookie name has leading/trailing spaces
Merge pull request #2 from ThomasWeiss/master

Fixed issue when cookie name has leading/trailing spaces