Fix WSAStartup return value check. SOCKET_ERROR was not a valid return value.
WSAStartup returns 0 on success, so check that instead.
(for details check http://msdn.microsoft.com/en-us/library/windows/desktop/ms742213 )