fix some bugs in udp service. temporarily disable tcp part