Fix use of PHP 5.4+ short array syntax
Fix short array in cURL and add cafile support

Use default CA file if non provided.
Merge pull request #97 from ianbarber/master

Fix short array syntax usage