Adapted to recent ngx_http_request_body_t changes