implement stream isolation

trinity-1686a requested to merge trinity-1686a/arti:stream-isolation into main

should fix #73 (closed)
Use IsolationToken (glorified u64) to allow flexible isolation of unrelated streams from the API.

Also implement isolation in Arti (as in SocksProxy to Tor). The rules used are not configurable (yet), but similar to default rules for Tor (isolate by client addr, by listening port and by authentication if any)

Edited by trinity-1686a

Merge request reports