Using the new scoped interface for HTTP requests to avoid GC allocations.