`next analyze`: Make ipv6 server links valid and normalize localhost (#86219)
The current implementation doesn't properly format IPv6 addresses, which
means URLs aren't valid.
- Added specific handling for IPv6 localhost addresses (`::`/`::1`) to
display as `localhost:port` for display
- Added proper IPv6 address formatting with square brackets:
`[IPv6Address]:port`
- Maintained existing handling for IPv4 addresses and string addresses
Fixes PACK-5874