Issue #114: Handle malformed cookies with invalid names.

Issue #114: Handle malformed cookies with invalid names.