ADDED comments and simplified code
CHANGED to check all incoming params
CHANGED foreach values and if statement
REMOVED first array_key_exists
Merge pull request #16 from SoSocio/ChangedAddConditionMethod

ADDED comments and simplified code
ADDED bundle certificate to curl options
Merge branch 'master' into Beta
Merge pull request #17 from SoSocio/Beta

Beta