C-style headers
Split main into 2 functions
Rename automata to fsm
Rename answerHTTP to answer_http
Why int? Should void
Use stpcpy instead of strcpy and while
Promote real addr to accept
Quick fix for keep-alive and close modes detection
Use defines