Use Android native JSON streamer to fix compatibility issues. Create a ClientManager class to manage the Client object with ref counting. Fix bugs with activity termination hangs and resume failures.