1Refactor client device to share more code, this change introduces the shared 2ipc_client_xdev struct.