[fix] Fix set the leader to the packet's name if it's in a LEADER state.
[fix] Merged the if statements, it had duplicate leader checks.
[fix] Set the `packet.name` not `packet.leader` if it's NODE.LEADER.
[fix] Send a broadcasting message.