Enabled option for forcing cookies to be sent only over https

i passed options to cookies library so that we can enable the secure option in the library. This allow to check that cookies are sent only over https connections.

Added also related test.