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

Tested on both Mac and Linux.
better to use namespace for global constants. What about to put everything in namespace net or namespace bricks ?