Heartbeat API: add nopriv actions, add JS 'heartbeat-send' event, see #23216