Fix socket unit tests on windows. Not testing SOCKET_ERROR