Do some bookkeeping on the server side and use C++11 in the Makefile and server.cpp