Udp client base class