TLS

- Reworded error messages for bad PEM files (thanks to catern).