Multiplexing tcprelay based on http://sebastien.millet1.perso.sfr.fr/tcprelay/index.html