fix a typo

The `type_` can not be socket.AF_UNIX. May it be `family`?
Merge pull request #561 from spacewander/patch-1

fix a typo