dhcp6: reset and allocate message buffer in build