Update XMLHTTPRequest.cpp

When network connect failed, still invoke the javascript callback method: onreadystateCallback