Workaround for self signed certificates on iOS