Preliminary support for baud rate setting

This is sufficient to address Ben's immediate needs for #1, but it
should be made into a better interface before closing the issue.