Bug fixes on CurlClient for POST/PUT/DELETE methods and a fix on Session Class