Don't configure to use SSL unless we're using HTTPS