Added rudimentary support for cookies.
Merge pull request #47 from LordFokas/master

Added rudimentary support for cookies.