Hearthstone Protocol Encoder/Decoder