CMBMNetwork: UDP server: get rid of cast