Update socket.h

fixed a typo
Merge pull request #2 from ziyangli/master

Update socket.h