work in progress version with TODO on the https POST part, builds the message based on the statsd values