add allowRealtimeCallback to HttpTask