Added client cert check in server