support for optional items in ASN.1 sequences