Client Certificate Authentication
First attempt at merging tls client cert auth branch.