an HTTP server in C