Follow tutorial from http://pjambet.github.com/blog/direct-upload-to-s3/