net: give better error messages

Add address and/or port to errors where applicable for better reporting.

See #7005
I believe these are also defined after object construction. Please do the same.