Notes: This client/server pair actually has a new feature: The max. number of connections is configurable. Needed it for debugging. I noticed that with many simultaneous downloaded torrents the number simultaneous connections can make a difference. The default is 250 connections, but on my very slow gateway machine 1000 connections were not problem at all.
Changes: 1. Number of simultaneous connections is now configurable in server and client.