Add support for setting DTR and RTS.

I need these additional methods in order to emulate a serial port.