Example for getting upload progress with Ruby's libcurl bindings