zoe/fix-invalid-ipv6-parsing
main
This was causing IPv6 hosts to fail to parse properly, and therefore giving results like `Named("[2a0b", "<redacted>]")` instead of `Literal("[2a0b:<redacted>]:8448")` Root cause: `IpAddr::from_str` expects an IP address without the brackets. Simple fix is to add a test case with brackets, and a few lines of code to remove the brackets if they exist. See-Also: - [Start of conversation](https://matrix.to/#/!ksTlboXVgcyWjv5GrlEeKyQuJ8ZCprnwQx2b6-BQ44Q/%24ycrGAve619dUbXgiQO-OFTvXMXNy28ltyCSSek_5NpY?via=wolfgirl.pet&via=explodie.org&via=matrix.org) - [End of conversation](https://matrix.to/#/!ksTlboXVgcyWjv5GrlEeKyQuJ8ZCprnwQx2b6-BQ44Q/%24zKpTlRDwvymvwUcGhgqO4Agcj0eqEgDf6WFc6Q6i9D4?via=wolfgirl.pet&via=explodie.org&via=matrix.org)