Added settings.verifyCert to enforce certificate validation

This is disabled by default during the beta while the API is not stable yet.
Minor edits
Fixed syntax typo
Changed Content-Type header to application/json
Don't escape the POST JSON string