How to implement a tty serial driver for RFC2217 networked serial port access devices?