Detect whether that user-inputed baudrate is supported by the serial port in Windows and if not, replace it by 9600.