Should libcurl and libxml be removed from Swift Docker slim images?

FoundationNetworking is based on curl and FoundationXML on libxml2. Removing the libraries would break anything using Foundation.