Trivial modification.
Thread pool size of asio is deduced from the cpu core number.
Finished code of a great refactor.