Implemented repo downloads using streams

This implements feature request #93 using the requirements stated in #94

Does this really need to be that verbose? I'm no expert of HTTP, so this could very well be the case... but I'd be surprised if this couldn't be expressed with a single header.