Apply improved WinSock error handling to the few situations it still