Client cert now comes in synchronous. Solving #1116.
Added config option to enable/disable client certs