Erase current header on failure

This prevents another message from arriving and attempting to use the
previous in-progress header that failed before disconnection has finished.