Make selfupdate use ssl when possible