Improve the test for bep9.
Fixed badrpc.
Fixed dht_iter_search. Improved logging and fixed common tests. Passed all 4 common tests.