added optional onError callback to allow initialisation to continue even when connection to service discovery cluster is lost
Merge pull request #2 from ArnoldZokas/init

added optional onError callback to allow initialisation to continue even when connection to service discovery cluster is lost