Misc changes
Finished adding OpenSSL code for iOS version.