HTTP client improvements