[tor-commits] [tor/master] Adding helper function that checks if string is a valid IPv6 address.