Work on client certificates

* improved logging
* exit with error when configuration file couldn't be opened
* removed hardcoded NO for using client certificates
* added support for pkcs#12 files
* fixed issue with ignoring client certificate configuration
My previous comment wasn't very clear: this if statement makes sense, the condition just needs to be changed from 
(rootsData == nil) to (rootsData)