Changed the way ipv6 is handled for avahi. And fix the broker.create context manager.