Add capability to register callbacks when sending IQs