Fix test scripts and xhr test for new default HTTP headers

BUG=
R=ricow@google.com

Review URL: https://codereview.chromium.org//704133003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41546 260f80e4-7a28-3924-810f-c04153c831b5