Null modem emulator