Add missing http client
More logging
handle the batchId config parameter