Revert "Merge pull request #3 from directi/debug-socket-errors"

This reverts commit 1a9339ac5ee79c10355b3d780b7b82e2497caf99, reversing
changes made to 069bb2becc1dd5a339e792f25263d9689066ab42.