Added flush method on metrics sender to be able to send metrics from a daemon.
Added Client's flushMetrics() method + test & documentation
Merge branch 'ojacquet-flushmetrics'