WIP: relay: Support IPv6 when checking if our address changed
Now support IPv4 and IPv6.
This also cleans up nicely the function that was moving IPv4 addresses from uint32_t to tor_addr_t.
Fixes #40058 (closed)
Signed-off-by: David Goulet dgoulet@torproject.org