updated UDP client
TCP cleanup