DVPL-5298 | Fixed HostnameToIPAddress method to return the first address if multiple ones are found.

Looking up "localhost" on Windows machines typically returns at least four addresses per network interface
(loopback and external, in both IPv4 and IPv6). This will be even more generally true for IPv6.