Minimal threading and socket test. Works on Windows.
Now slightly more likely to work on Linux as well.