IPv6 support.
Preserve order of localhost aliases.