How to monitor serial port activity?