Also detect 'connectior reset by peer' which is what a unix socket says

Without this, yamux prints out errors when a unix socket is disconnected.