Implementing protocols with Java sockets ( UDP and TCP )