Strip newline when reading from socket even if not gzipped