HRCPP-111 Improve exception messages related to hostname resolution

https://issues.jboss.org/browse/HRCPP-111