Added parseMessage and a benchmark.
Added more benchmarks.