net: give better error messages

Add address and/or port to errors where applicable for better reporting.

See joyent/node#7005 and #16 
I think this whole chunk could be moved to a function.