Use socket handler to stream query results to authenticated clients.