Support non-standard baud rates

This sets the baud rate using the IOSSIOSPEED ioctl, rather than as part
of the termios options, which allows arbitrary speeds.