forward-tty: support to do packets relay between socket and serial port