issue 235 - optional validation of SSL certificates