Fixed typo
Added changes to support client cert auth