Simple port forwarder implemented in Java