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
Yeah, these are fixed in commit 73d1170ab5814b24ca3a93cfc82566a591b6bc54. Will merge them into this one.