Don't log EPIPE (broken pipe) errors as warnings

Broken pipe errors are usually caused by connection reset, and its better to not log EPIPE errors to minimize log spam
Merge pull request #784 from tahajahangir/patch-1

Don't log EPIPE (broken pipe) errors as warnings