Fix Socket NameError.
Merge pull request #166 from dracos/patch-1

Fix Socket NameError