Define interface MbusHeader and extract common implementation encodeImp and decodeImpl
Define interface MbusHeader and extract common implementation encodeImp and decodeImpl

Unsure I have this right, but the encode/decode unit tests pass so it may be fine.

jimlloyd/mbus