Add an optional success callback to notifications, so that clients can tell once a notification has been sent