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

Tested on both Mac and Linux.
4a8ad4efd07782be87f9beebe52ef2edbbdb61e0