Add body_reader func as a parameter on the returned res table

Fix to match the lua-resty-http api