Cookie-aware XMLHttpRequest Wrapper