added last will and testament to mqtt api, BREAKING