udp sender properly logs messages and improved ScalaToNFN implementation