Refactored to use Apache HttpComponents for async HTTP client.