pass cookie data around as a unit
update comment to be correct
include cookie creation time in contents (fixes #19)