Handle https URLs sensibly