packet: enforcing noninstantiability in classes Mask, OrMask, Shift and ReturnCode