Fix possible ECONNRESET
Merge pull request #21 from giakki/master

Fix possible ECONNRESET