(yet another) New yagnats interface compatibility

We revisited the yagnats interface that we had come up with last week and figured out a way to make it cleaner, closer to the original apcera client interface.
This PR updates loggregatorlib to suport that.