issue #3049:Add XMLHttpRequest lua binding and corresponding test sample