Create a session proxy and make the test proxy optional