Added test that reproduces malformed cookie name exception.
Added fix for malformed cookie name.
Merge pull request #857 from Its-Tyson/malformed-cookie-names

Malformed cookie names