With Phusion Passenger 4 / nginx, request.body ends up being an object that doesn't respond to #length.