wip - new canaryd

ref https://github.com/canaryio/canary/issues/7
It feels like this should not be an exported func... need to study up on that