constructor(opts) {
		if (typeof opts == "string") opts = { url: opts.replace("stan://", "nats://") };

		super(opts);

		// Use the 'preserveBuffers' option as true as default
		if (!this.opts || this.opts.preserveBuffers !== false) {
			if (!this.opts) this.opts = {};

			this.opts.preserveBuffers = true;
		}
		if (!this.opts.clusterID) this.opts.clusterID = "test-cluster"; // Default cluster ID in NATS Streaming server

		this.hasBuiltInBalancer = true;
		this.client = null;

		this.subscriptions = [];
	}
Creates an instance of StanTransporter.

@param {any} opts

@memberof StanTransporter