standardize command sending to work with heartbeat or command messages.