httpOnly = [cookie isHttpOnly] and modify the getter for iSHttpOnly to use this boolean