Add support for Windows

Add support for Windows with withSocketsDo. Without this running the client on Windows results in *** Exception: getAddrInfo: does not exist (error 10093)
Merge pull request #87 from fegu/patch-1

Add support for Windows