Simple web server written in c