Add support for setting DTR and RTS.

Required in order to emulate a serial port.
Merge pull request #4 from mcolyer/add-dtr-rts

Add support for setting DTR and RTS.