Some Rubies don't have IPv6 enabled like Synology's package
Merge pull request #21 from LIFX/ruby-without-ipv6

Handle Rubies without IPv6 support