Optimize session.read() returned value
Currently on Windows, due to BMP decoding,
session.read() will return at most one whole line. It may return a buffer as small as the BMP padding (1 to 3 bytes).
It can be easily handled in C, but from Python it's inefficient and can hardly be made more efficient.
--> we need another normalizer to make sure
session.read() returns the maximum buffer length possible.