Use ssl where applicable.