Implement hashring for carbon-relay

Should significantly improve performance.

Currently work-in-progress.