Basic TCP/HTTP Server written in C