rpc: Add RPC connection limit
Created by: dagurval
This adds a limit to maximum number of simultaneous RPC connections. Any new connections after limit is reached will be immediately dropped.
Test plan:
New test added to electrum_doslimit.py
to test this feature.
./contrib/run_functional_tests.py