Add parsing of cert pem file

Here we use the pem module to parse our cert file into
certificate and chain... We call CertificateOptions constructor
with the private key, certificate and chain.