Reimplement sending of map hashes

Currently this sits in acceptConnections(), which it probably
shouldn't.