net: give better error messages

Add address and/or port to errors where applicable for better reporting.

See #7005