can now parse certs with headers/footers