Add an option to disable certificate revocation checking

I am linking to a discussion in the bug board about this: