Decorate IPv6 addresses in connection_t->address to avoid ambiguity

Currently, connection_t->address can be in one of three formats:

Tor often uses this address with a port like this:

The IPv6 case is ambiguous, and we should fix it.

One way of fixing it is to provide a flag if address is an IPv6 literal, and a function to format address and port. (Unfortunately, we can't always decorate IPv6 addresses, because that would cause bugs in other code and in controllers.)

Then we would need to go through every instance of conn->address and find the ones that use a port. This may also require a spec update, like legacy/trac#24603 (moved).