Support failing server certification check.

Signed-off-by: Jelmer Vernooij <jelmer@samba.org>