Efficient HTTP/HTTPS client code with both streaming and non-streaming interfaces.