Simple mixed async and thread http server in C++11