Implement udp client and server