Use the correct url for checking if the origin header has to be added to a XMLHttpRequest.

git-svn-id: svn://svn.code.sf.net/p/htmlunit/code/trunk@9123 5f5364db-9458-4db8-a492-e30667be6df6