Merged two methods to one.  Still need to finish conditional formatting.
Added logic for existing APIs that the iOS SDK supports.

Addressed a security vulnerability where SSL calls (not working yet) could be subjected to a man-in-the-middle attack.

TODO: get SSL working properly
removed extraneous comment
Merge pull request #1 from wvmikep/master

Simplifying this black box