Fix Errno Comparison

My work on #51 caused this bug, and of the constants defined it only affected ENOTSOCK.  Maybe the test is overzealous, but writing it helped me to clear up some of my ideas about error checking in Go.