Advertising

The attached patch adds a name lookup for an IPv6 address if no
IPv4 address is found.
Since the protocol autodetection of QSocketDevice does not work in
this scenario, we need to recreate the socket with specified protocol
(and save the IPv6 state for the thread in case of reconnects).
Regards,
Martin