Java Chat client and server, using TCP and UDP