add ipv6 support (redis still needs ipv4)