net: give better error messages

Add address and/or port to errors where applicable for better reporting.

See #7005
Hm, I feel like there was a previous test that was failing without that, but after looking like it, doesn't appear to be true.