Added a wrapper making XMLHttpRequests much less painful; as time goes on eventually we'll have a similar wrapper for Websockets and other such APIs