fixed ipv6 support

This patch fixes kazoo on ipv6-enabled hosts