add IPv6 support (fate #314804)