Starting simple http parser in c, should verify if all data is correct, properly hold data, and return a struct with all the data