Fix issue with sending data over HTTP when webstats_https is true

So I noticed that when ```$webstats_https``` is set to true in the config file, the node would still keep sending HTTP traffic to the server. After some debugging I realized ```$webstats_https``` wasn't actually being passed to WebStats, so here's my fix.