Update MUTCodec so reading the header doesn't infinite loop
Some cleanup of MUTCodec, throw exception if we don't understand the header