ASN.1: Add headerlength and fix start