Replace XUACompatible meta tag with middleware