[Java]: Add assumption that loopback supports multicast before testing code that requires it.