The Retarded HTTP Server - the most retarded implementation of HTTP server in C language ever seen.
- basic TCP sockets layer running (listen on port/ports, accept client connections and send/receive data), inspiration: https://www.linuxhowtos.org/C_C++/socket.htm
- implement a buffered reader for reading requests one line at a time (delimited by CRLF)
- begining parser: parse out the method, the request version and the path
- header parsing for the "Header: value" syntax (Don't forget unfolding folded headers.)
- check the request method, content type and content size to determine how/if the body will be read (maybe limit only to GET request, maybe allow query string params at most)
- implement decoding of content based on content type
- Optional: if support of HTTP 1.1, implement things like "100 Continue", keep-alive, chunked transfer
- Optional: add robustness/security measures like detecting incomplete requests, limiting max number of clients etc