Finished basic working implementation of HttpRequest/XMLHttpRequest.

Making a pull request!