persist cookies
fix cookie mistake by saving cookie properties rather than the cookie object
Merge pull request #6 from mmoutenot/feature/persist-cookies

Persist cookies and pull network into common class