BASE_HREF's host part differs from HTTP_HOST (www prepended) causing issues in Opera 12