NXP-9706: Cleanup/factorize HTTP request execution functions in Automation client