Added a flag to enable/disable forceSsl.