Hello,
Though this might be unusual, I had requests to support https connections to influxdb on this project: oetiker/SmokePing#201. However, the scheme used by you is hardcoded to http. Are you interested in extending it to support HTTPS (with optional self-signed certificates)? You'd need a few extra options when setting up a connection, but the underlying LWP should support HTTPS.
Thanks