add access to the peer host and port of each connection
handle EPIPE the same way than ECONNRESET