Exercise to create a basic http server in C