Server connection now uses c++11 threads