http request/response parser for c