Fix mocking of isclosed() in tests
Fix mocking of isclosed() in tests

Without this urllib will incorrectly determine the file is closed, and
stop reading prematurely.

TracyWebTech/django-revproxy,TracyWebTech/django-revproxy