[JRuby-1068] - Implementing Socket.getifaddrs