Adding Android multicast support, first pass. Untested.