Native cookies jar

Reverts #149 and resolves #178