Fixed subtle logic error of checkForFlags only checking that the
specified flags were turned on. Our logic counted on that function
checking that ONLY those flags were turned on. First crack at such at
function in Packet.checkForExactFlags. Kept checkForFlags, but it is
currently not used anywhere