correct misleading function signature
insert comments to denote points to set + try to read a 1p cookie from 3p frame
implement the 1p cookie set/3p cookie read logic