A simple tcp/udp server wrapper library