Explicitly set empty request body to null

Fixes #584