Refactor UDP socket black magic in get_interface_address6()
Move the hacky part of get_interface_address6() that uses hacky UDP socket trickery into separate function and unit test it.
Move the hacky part of get_interface_address6() that uses hacky UDP socket trickery into separate function and unit test it.