cookie: add basic cookie struct