Modified to add additional method to choose cookie policy when hitting a URL.
Merge branch 'master' of https://github.com/sangupta/jerry