Enabled DHT and added automatic port selection