Ignore invalid certificates : iOS 5 + Mac OS X 10.6 compatibility.
Merge pull request #2 from Serahug/master

iOS 5 + Mac OS X 10.6 compatibility