Added 'secure' and 'httponly' properties to cookies.
Merge pull request #2 from wcerfgba/master

Added 'secure' and 'httponly' properties to cookies.  I'll probably also expose these as additional arguments to allow users to tune.