Bugfixes/1449 malformed cookies

Sadly, I couldn't just strip out the misformated cookie. Either we reimplement the CookieDecoder class or we just ignore the whole cookie header.

See #1449