fixed discovery server address
exposed settings collection on AppSettings property for easier programming
get host name for discovery from config. added more logging.