SSL_VERIFY_NONE patch by Joaquin Ferrero