Fix incompatibilities with httpcomponents-core and client versions higher than 4.2.1. Fix the README.md and pom.xml accordingly