Add the support for 'secure' option that forces cookies to send cookie only on https connection