accept octet strings in is_asn1() check