Stop relative URLs from being resolved against non-relative bases

Fixes: http://lists.w3.org/Archives/Public/public-whatwg-archive/2014Nov/0035.html