Fixes socket tests on Moar on Windows.