adding udp and moving to em-zeromq fixing thread issues