[Java]: Put assumptions around multicast loopback support in the right places.