changed REP socket to DEALER
implementing Node DHT and heartbeat methods