Xrootd fix ipv6

This fixes use of IPv6 addresses by working around an Xrootd bug.

Note, due to cmsbuild issues, this also contains #6452.  Only commit we're interested in is 07493d5.