serial i/o support for ucommon