update the class to use system properties instead of hardcoded uri for
getting private key and knownhost