refactor connection.c, move http process specified code out to http_request.c, so that module_uwsgi can reuse.