b=866431, Create XHR ArrayBuffer directly instead of going via nsCString, r=bz,sfink