Fix bytes/str issues
Set Accept-Range header, return 406 on invalid range
Tests for Range header