a simple demo from http://blog.antoine.li/2010/10/22/android-trusting-ssl-certificates/