added HTTP range header support