Add PEM certificate and CRL magics and test cases
The magics don't actually have to be at offset 0, there might be an (arbitrary?) number of lines before the -----BEGIN ...-----
marker. I couldn't make up my mind how much range to add to the offset, so I didn't add any :P