Help designing simple serial packet protocol - bytes lost?