Fixed build failure (missing withSocketsDo import on non-windows platforms)