Implemented parsing an HTTP request.

Request lines are converted into an http_request structure.