Added a NULL return if malloc failed
Commented http_server functions and structures in Doxygen format