net: give better error messages

Add address and/or port to errors where applicable for better reporting.

See #7005
After making this change ping me back and we'll get this merged in.