Pass webstats_https
Well, another one
Merge pull request #34 from wchen-r7/https_fix

Fix issue with sending data over HTTP when webstats_https is true