Moved WSAStartup to main