added retry on failure to client upload
Merge pull request #78 from jaredwilkening/master

client upload retry on failure and bug fix to server