handle ECONNRESET client socket error, so client apps don't crashes

this issue appeared in many other dependent nom modules
fixes #12