Metadata

One minor bug fix, config file readability, plus implementation of metadata IP and port in configuration.
You are indeed correct. I added ".get", decided to go back to as it was and add the "except" stuff, then forgot the second bit. Mea culpa. Fixed.