client: Add support for the Respond command
agent: Support IPC based query response