A single-threaded sychronous TCP server framework using C++11