MDL-43679 core: Never use HTTP redirect when the user agent is MS Word