Append newline for socket message strings only