java example of udp multicast/unicast and a worker queue with threads