Added cookies support
Merge pull request #1 from shir/enable-cookies-support

Added cookies support