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

Tested on both Mac and Linux.
Shouldn't `BlockingWrite` be templated like `BlockingRead`?