[XrdCl] Resolve addresses corresponding to socket type
[XrdClTests] Make the testsuite work with IPv6