Simple asynchronous XMLHttpRequest HEAD request.