Implementation of Chord P2P protocol on async sockets