Rewrite URLReadWrapper() implementing RawIOBase() and handling bytes
Use built-in IncrementalNewlineDecoder() rather than inventing another
Use built-in “zlib” codec instead of DeflateWrapper()