Use the RUBY_GAI environment variable to alter default DNS lookups

This is a suggested implementation of https://bugs.ruby-lang.org/issues/9925
I am wide-open to other ideas, this was the first approach I thought through.