best effort at logging multi-line response from remote servers