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

Tested on both Mac and Linux.
Having a default on the buffer length could lead to a developer error (buffer/length mismatch) in a code that uses `BlockingRead`.