Ensure Empty bodies don't write content

Discard any output a body function writes if the request is a Empty
one. Might be better as something that throws an exception, but this
will do for now.