dynamic swtiching between ipv6 and ipv4! woohoo :>
various fixes