Issue 5049: onreadystatechange fails for back-to-back XMLHTTP requests
Manual port of: FBTest for issue 5049