Use self.transport in dht instead of passing it as parameter

Fix several methods in dht.py that get transport as parameter when self.transport can be used.