C0103 fixes 3, dht, k_bucket and routing_table

This PR is dependent on #1108.