Amend receive_byte method; add FAIL state to FSM.