Honestly, that's not going to help him much here. The headbutts are one of those things that even when unsafe can be mashed out of online. If the connection is anything but silky, throw punishing those will be incredibly luck-driven. Doesn't help that certain variants are actually legitimately safe offline, either.
Hold 7 (back+up). You will strafe in the direction opposite of the screen while slightly inching backward. While doing this movement, you will dodge all of Ryu's teleport moves safely, eliminating the need to read each one independently.