http range requests for content

(don't merge yet.. still needs unit testing, but hoping we can avoid writing lots of the code in this patch)