httpclient: Deal with "206 Partial Content" when we didn't ask for it.

Some servers, when reusing a HTTP connection, may return "206 Partial Content"
if a previous request was a range request but the new one isn't.
hls: Avoid calling sub_scanner repeatedly if nothing will be scanned by it