Fix some mkdir in server start
Move to C++11 Threads

As I found out from valgrind, I need to join all the created threads also!
I move to C++11 for all project!
I use std::thread to threads everywhere
Now I just need to move all the IO to thread pool and the Server thread to std::thread