Initial XMODEM implementation