revert PlainTextMessageCodec.java to old version