Only use the Query protocol if it is enabled