libdpx: Back peer connections with a linked hashmap

Incredibly useful for dropping peers later.