be backwards compatible so use Socket::GetAddrInfo