strip down version of unpack
In some cases we need only the message type and not to decode all options, for instance for advanced receiver queueing or for perfdhcp.
So the idea is to have a fast clone of unpack which digs into a received query to get the message type and perhaps for DHCPv6 the rapid commit option.