fix encrypt
udp server works