s3:include: change cli->protocol to enum protocol_types