Optimizing performance of HTTP requests handling.