[http] Improve download mechanism when Range HTTP header is ignored