Handle upload messages

Hi there, recently started using flamethrower and it's awesomesauce. I made some changes to let it handle the UploadMessage type. Let me know what you think.