ISPN-3489 Use HttpComponents 4.x instead of the old httpclient 3.x libraries

https://issues.jboss.org/browse/ISPN-3489