Handle socket errors in iter_content

My first PR for Requests, so I probably did something terribly wrong.

Closes #2144.
`r.raw = RawMock()`?