check request body for nil in perform_request

Enough said. This causes Rack & Rack::Lint to break & complain.