DUNE Hardware: converted BasicModem and HayesModem to new I/O framework.