Only expect 206 if a range header is sent

This prevents `httpretry` from erroring when it was unable to read any bytes from the first 200 response.  It would assume 206 was the correct response on the first retry, and would return:

    Expected status code 206, got 200

This changes the code to expect 206 only if a Range header is sent in the request.