ignore socket hangup. fixes #314
Merge pull request #316 from brianc/ignore-socket-hangup

ignore socket hangup. fixes #314