Imported MRI revision 45144.

Resolv.rb has been updated according to MRI SVN revision 45144
(http://git.io/W3pM9Q on GitHub). This to address various issues related to
IPv6 as discussed here:

* https://bugs.ruby-lang.org/issues/9477
* https://github.com/rubinius/rubinius/issues/2929