But it's more problem of dependencies, for example Apache Http Client is a complete mess in terms of optimization, I was not able to find reasonable rules to make it work, all suggestions in internet are very bad (essentially rules to keep whole library)