Telemetry

In-progress work. Please comment & point out issues.

@fractalcat @afcowie @christian-marie 

See also https://github.com/anchor/vaultaire/pull/63
@tranma Please change this qualified import to

    import qualified Data.ByteString.Char8 as S

Thanks.