SerialPoer class adopted to cwt::io namespace.