// Create a NetworkProxy (the Connection implementation to send data over the net)
// params are hostname and hostport
NetworkProxy connection = new NetworkProxy("127.0.0.1", 4478);
// Create a Link class (so now we use this instead of the default one)
Link link = Link.createInstance("proxyLink", connection);