setting SSL certificate validation on/off

relates to #5