Adding support for persistant cookies via cookie jar argument.

This adds support for persistent cookies across requests by adding a

    --cookie-jar=cookies.json

argument switch to the command.
Implemented with fs phantom module, cookies are serialized as JSON.