net: give better error messages

Add address and/or port to errors where applicable for better reporting.

See #7005
When `_extend(e, additions)` adds object properties to `e`. So `add` is superfluous. Just use `e`.