Improve checking whether or not an IP address is IPv6 (by using the twisted function to do so)