RUBY-806 Use listIndexes command when talking to servers with wire version >= 3