PEM parsing fix

This new PEM parser should abide by rfc1424. Although it's not common in our usage, PEM encoded objects can have headers. It also handles concatenated PEMS. Not terribly essential, but useful.