Update Client to avoid exception when app is running stand alone.
Add some classes and method to handle new replies.