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
Could you make this line (& 166, 169) shorter by splitting after arguments?