Set heartbeat response Content-Type to text/plain (#12182)

By default browsers assume text/html and may complain about an empty response body.

Change-Id: I66ed1aef3421a7f0a618bc441ffab1dc0efbdc71