adjust range request: sizes of ranges to reflect http spec

The http spec wants a range to include th last byte given
e.g. 500-999 is a 500-byte range.

This adjusts the size returned to comply with that.