Support for revoked certificates

Hello,

I needed basic support for certificate revocation on my system, so i added it.

Feel free to merge on upstream if you wish :)

Best regards,

Alessandro