Using this network library:
https://github.com/koush/ion
As the current status is development, I would like to use self-signed SSL cert
The library forum