first version working based on udp syslog source code for snmptrap