Made runSettingsSocket call interruptible on Windows.
Brought back missing withSocketsDo call.
Fixed build failure (missing withSocketsDo import on non-windows platforms)
Made receiveloop function interruptible on Windows.
Merge pull request #250 from anton-dessiatov/windows-blocking-accept

Made runSettingsSocket call interruptible on Windows.