Strip newline when reading from socket even if not gzipped
Merge branch 'gzip-with-chunked'