fix #1092 improve deprecation of IO.useXHRHeader

Don't log warnings after the user migrated to the new syntax