Made set cookie last Parameter configurable

Set cookie last Parameter (httponly) configurable