Portable DHCPv6 implementation