Rename getProtocol to getMechanism