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

Tested on both Mac and Linux.
Good point, let me add this.