Parses the first line of an HTTP request.
#include <frame/protocol.h> int protocol_parse_request(char *t, Request *rq, Session *sn);
Returns REQ_PROCEED if the operation succeeded, or REQ_ABORTED if the operation did not succeed.
char *t defines a string of length REQ_MAX_LINE. This is an optimization for the internal code to reduce usage of runtime stack.
Request *rq is the request to be parsed.
Session *sn is the session that generated the request.