set min content size to 1 & block inverted range

Make sure we're able to return at least one byte and make sure the
start of the range isn't greater than the end.
Merge pull request #316 from unclejack/enforce_minimum_length

set minimum content length to one byte & block inverted range