Metadata

One minor bug fix, config file readability, plus implementation of metadata IP and port in configuration.
We require an IP address here, because that is what iptables requires. For the others, a hostname is OK.

I'm not opposed to just having DNS lookup here if that would help you - do you want me to do that?