iostream adapter for serial port, implemented using boost.asio, forked from https://gitorious.org/serial-port