Nicely handle invalid (empty) request body in SendMail/SmartReply/SmartForward command (T1052)
I've found iOS devices sending empty request for SendMail when in non-SSL mode.
In such case it is useless to even call getResponse(), also PHP warning
on simplexml_import_dom() was logged. Additionally, I unified code
of these three related command handlers.