peerDiscovery: add peerLimit - default: 32.

Add a peer limit to peer discovery. Having it hardcoded at 1000 hits the ulimit in most OS's and is generally unnecessary. 32 is a reasonable default.