Allow for configurable ES clientType, add config to use transport