Fixes PHP Notice when "body" property is not defined

A PHP notice is thrown when $this->response->body is not set. This is because the code attempts to append to the $this->response->body property when it does not exist.

This PR fixes that error.