Use gai_strerror instead of Utility::FormatErrorNumber for getaddrinfo's error codes

fixes #6849
Exit application when IDO version doesn't match expected version

fixes #6850