Socket initialization: migrate to WinSock