add withCredentials attribute support to XMLHttpRequest
Merge pull request #11 from eychu/master

add withCredentials attribute support