fixed: default empty array, and version variable
eliminated , test for response object, try...catch exception
example using curl's proxy options