add influxdb handler

This is a working influxdb handler. Please review and release...