Create ConnectionHandler

Used for connecting to end points, and also registering which end points used with the dht node service.