use tir template loading scheme from amatyr
remove debug logging
Use resty.upload to do streaming uploads, check for successfull upload