parse whole pem; more idiomatic
Merge branch 'tls'