fix

fix udp encoder/decoder
TODO: change to TCP later