More complete XMLHttpRequest interface in Ajax

Includes content (request and response) abstraction and basic event
handling.