Standardize CURL class
Add enableDebug method
Auto convert nested params to 1 level params