useProxy(ssl, skipPosition, skipBytes, -1, intermediateChange);
}
private void useProxy(boolean ssl, int skipPosition, int skipBytes, int flipPosition, boolean intermediateChange) throws Exception {
NetworkErrorProxy p = new NetworkErrorProxy(PROXY_PORT, LOCALHOST, port);
p.skipBytes(skipPosition, skipBytes);
p.flipByte(flipPosition);
p.run();
NodeStore store = new SegmentNodeStore(storeS);
final StandbyServer server = new StandbyServer(port, storeS, ssl);