[MOD] Move all server-side query handling from QueryListener to the QueryActor