Add some additional logging to give extra network insight.

Backport of bitcoin#3296.