HBASE-12197 Move rest to it's on module
HBASE-11394 Replication can have data loss if peer id contains hyphen "-"