Add support for adding custom certificate

Add support for using a custom PEM certificate.
Bump version to 0.0.4