Support custom x509 Certificates for HTTPS

Fixes #63
Merge branch 'client-certs'