ForwardingSocketChannel.REMOTE_FORWARDING_CHANNEL)) {
try {
ByteArrayReader bar = new ByteArrayReader(requestData);
String addressBound = bar.readString();
int portBound = (int) bar.readInt();
String originatingHost = bar.readString();
int originatingPort = (int) bar.readInt();
ForwardingConfiguration config = getRemoteForwardingByAddress(addressBound,
portBound);
Socket socket = new Socket(config.getHostToConnect(),
config.getPortToConnect());