add ipv6 to front of localhost addition, move callback lower which listens on IPv4 when IPv6 has successfully found a port