fixed sockets on windows