Switch from inet_pton to getaddrinfo

This is intended to fix DNS-over-TLS server address parsing in cases
where the address is an IPv6 link-local address that is marked with
a scopeid.

Bug: 70320049
Bug: 63731765
Test: Integration tests pass.  (No IPv6 scope-id test coverage!)
Change-Id: If19ffb988d8c9ee7f42b2a2eafffe1bf408b005b
1 file changed