Use https if 'pfx' option is specified.

crypto.createCredentials can accept a PFX or PKCS12 private key via the
'pfx' option.
Merge pull request #3 from jgoz/allow-pfx-cert

Use https if 'pfx' option is present