What is birth_message and will_message in MQTT and what are they use for?

Publish an empty-string to the topic, with retain=true, and the MQTT broker will delete the topic and its message.

@gpbenton showed an easy way to do that in this post: