Remove dead code and unused attributes from dht.
Remove dead code and unused attributes from connection.
Remove dead code from multisig.
Remove dead code from market.
Remove unused attribute from ec test.