update `message` and tests. new `codecs` module.