Baudrate settings in Windows: supported baud and user baud

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