Fix byte range request response

Example range request: "Range: bytes=2582528-"
would return response: "Content-Range: bytes 2582528-0/2583490"
as $end stayed 0.
Merge pull request #296 from thejk/develop

Fix byte range request response