Adding support for throttling upload speed in UA

A new command line option --throttle let one specify
maximum speed in bytes/sec.
Better handling of edge cases while throttling
Merge pull request #44 from abiyani/ua-throttling

Adding support for throttling upload speed in UA