Added socat serial port code