NTNcs631/NTN — pull request #9 by lzhang25 (2013-11-20 00:27:14+00:00)
Title: Add file "http.c"

Add file "http.c" to parse the HTTP request using the function parsereq.
Use the new type ReqInfo to record the HTTP request.
Can hold 400, 501, 505 .
Can hold simple request.
Can't hold 522:Connection Timed Out status.
Can't hold full request.

BTW, add some exception handling ( malloc(), write(), band())