Uptake cookie parsing/serialization changes from Grizzly.