Use SSL for submitting stats

Change-Id: If830c05ee121d3951ffcf34cd3bbd499c5107f1d
Merge remote-tracking branch 'upstream/cm-11.0' into HEAD