Implemented high level API for get_peers and announce dht operations.