I believe this is related to PCBC-180
Trond is this related to PCBC-180? In other words, is this more than an improvement?
The intention of this RFE is to fall back to try to use the flag values as specified in the memcache extension if we fail to deserialize with the currently used flag values.
This behaviour is as closely matched as possible in 2.0.0-dp1, additionally, transcoders are available to allow specifying custom flag decoding.