Another fix for Visual C++ compile errors because of defprecated WinSock functions