Move wire format to separate package.
Wireformat for sending metrics to the collector service.
Merge pull request #1050 from tasdomas/metrics-wire-format

Metrics wire format

Metrics wire format defines the format that will be used to send metrics to and receive responses from a metrics collector service.