issue #2726:JSB and html5 has many differences 

issue #2726:JSB and html5 has many differences 
issue #2885: XmlHttpRequest needs to support sending and getting binary buffers