Fixes #5810: Implement a command to collect and send metrics

http://www.rudder-project.org/redmine/issues/5810
Same question: how do you manage authn?