Add the handle_frame_error/2 callback to all gateway implementation modules to handle message parsing errors.
handle_frame_error/2