Support for cookies
Removing commented lines
Adding support for secure cookies
Adding example using secure cookies