add ca_verify config option

This option is used to check the server certificate. If it is not defined
certificate will be checked.

Signed-off-by: Luka Perkov <luka.perkov@sartura.hr>