thread_contract: refactoring
port: merge msgpack PRs
algorithm: use better implementation
encoding: support utf-8