Make deployment scripts handle SSL servers

The deployment scripts broke when the master ran SSL because the server liveness checking did not succeed. Fix this by adding an SSL option to the deployment scripts and changing the URI that the deployment scripts to HTTPS when the option is enabled.