Open XMLHTTPRequest before setting properties

Execute the  <code>.open()</code> operation on the <code>XMLHttpRequest</code> object before setting the <code>timeout</code> and <code>withCredentials</code> property