changed: Improve Curl (error) logging in case of errors for eg. easier debugging
fixed: Cosmetics
added: DEBUG CODE