Add body_reader func as a parameter on the returned res table

Fix to matche the lua-resty-http api