Plumb in some basic cookie support

--HG--
extra : amend_source : f07fa4cc37ed058ee01fecb0b25f28da2bf85bec