added force_ssl support