changes in the provisioner to use TLS when talking to the server

The `data-uploader.rb` tool is currently usable from any machine. We would like to keep this functionality, so it should not be required that this read `provisioner-site.xml` as we cannot be sure of its location. This script should work from command line options and environment variables, like other helper scripts.