Add prefersUdp flag to netmessage declarations