Added possibility to turn of SSL certificate validation.