Basic implementation of a port forwarder using tcp connections