Auto detect ipv6 by default in graphite handler

I think diamond should auto detect if it should use ipv4 or ipv6 by default when talking to graphite, but still allow one to explicitly specify one of them in the config.