Set use_ssl default value according to request protocol