http range streaming fix

Hi Mike,
I had problems with range based http requests and figured out that the start and end arguments were the problem. I am not sure whether this is the best solution, but using end instead of the offset as the end makes more sense to me. Same goes for that swap-test. What do you think?
Cheers,
Max