bugfix: ngx.req.set_method(): we incorrectly modified r->method when the method ID was wrong.