dev: implement LeafCookieManager

cookie is session only in Leaf