Security fix: handled ECONNRESET

I got 2 ECONNRESET errors today because of network problems, it killed the node.js process. I think it is safer to handle this error without dying, because lots of client-side factors can cause this to happen.