Adding a secure flag to requests.

This is an updated version of
https://github.com/playframework/playframework/pull/1326, incorporating
suggestions in the comments, and including tests.

Play-Cache test was running out of perm gen space
Merge pull request #1823 from kamatsuoka/add-secure-flag-to-requests

Add secure flag to requests