Use enqueue instead of execute for HTTP requests (#1040)* Use async code to handle requests* Retry on wrong certificate (commit: 2e8a79f)