Added a bytesSent parameter to the uploadprogress function.

Closes #98