adding changes to client
modified client MessageHandler interface