Implementing Client processMessage