388103 - Add API for tracking down upload progress.

Introduced Request.ContentListener, invoked after the content has been sent.
Made the test more reliable.