fix listener uris for ipv6 addresses