C++ HTTP server code with curl-based test.

Tested on both Mac and Linux.
Done, PTAL at d4236ed04deb0e3673be4fdb55e2b0dabdbc52e7.