Make sure every address function that takes for_listening supports IPv6
We need to make sure all of our basic address functions support IPv6.
For example, tor_addr_is_valid() only supports IPv4 for_listening.
We need to make this change before we create generic IPv6 listeners for proposal 312.