serial: import serial_close for windows
serial: add serial_parameters struct
serial: add constants for serial parameters