Simple web server in c