TodoList with Socket in Java