A generic net/http Go InfluxDB handler