organize udp and tcp servers and clients a little better