add support for udp / set_color_direct to the simulator
synchronize tcp(isr) and udp thread