Support both HTTPS & HTTP.