Refactoring ``wagon-http`` and ``wagon-http-lightweight`` to reuse shared ``EncodingUtil``