Building a local test server in C++