Programmatically create network proxies and control them in tests. Scala and Java apis