add support for using SSL client certs

Add in code to support ssl client certs