Use RFC6265 cookie encoding style, close #1209