open fun publishReceivedHandler(handler: Handler<Int>): MqttEndpoint
Set the pubrec handler on the MQTT endpoint. This handler is called when a PUBREC message is received by the remote MQTT client
Return
a reference to this, so the API can be used fluently