Finaly, created the command line utility smosl_send to send metrics. Inspired by gmetric
Added a few simple tests.