best effort at logging multi-line response from remote servers
Merge branch 'master' into portable