It's a simple HTTP server.
You can fork this code to write your server and client.
If the code can help you to write the better code,
you can pull more code to make it better.
===============
How to build the code
./configure && make
How to package the code
./configure && make dist