Update sdl_io to follow the new protocol