Can you test with commit 1cda029, I did a different approach to be sure there is `[` at beginning of host part, not to find `]` in uri parameters. The for the PV field, there is a function that already returns the ipv6 address with []. I haven't tested, thus feedback on how it works is appreciated in order to backport.