Added support optional 'forceSSL' setting