Chat Implementation using TCP and UDP