now using global defaults for Window.http, so that users can change them to their liking.
Better xmlhttprequest event callbacks