BrightcoveOS/Diamond — pull request #643 by tg90nor (2014-06-04 12:01:08+00:00)
Title: Add basic ipv6 support in graphite handler

The graphite handler is currently hard-coded to connect with ipv4 only. This is a simple fix that will use ipv6 if getaddrinfo returns an ipv6 address as its first match.
There should probably be some kind of fallback mechanism in case the first attempt fails, so if ipv6 times out, it will try ipv4.