* dhcpv4: fix several issues * condition flipped in Encapsulate * check for correct bounds in ForEachOption * getMessageType didn't check for opt * dhcpv4: preserve backing buffer in reset