Optimal multicast mechanism selection for wireless networks