Use SSL for submitting stats

Change-Id: If830c05ee121d3951ffcf34cd3bbd499c5107f1d