Secure cookies

We've added a new 'secure cookies' option, providing out-of-the-box support for reading/writing signed and encrypted cookies.