HH-46051 handle invalid cookie name of value

https://github.com/hhru/tornado/pull/12