add io.IOBase compatibility to HTTPResponse

Closes #182
add tests for HTTPResponse subclassing io.IOBase