When sending DEL msg, send endpoint count

When connecting, we send N rir msgs, one for each endpoint.
The receiver adds a ref for each endpoint. When sending a DEL
msg, we need to send the count to avoid sending N DEL msgs.