r4168: Implement QueryValue in the server