title: await client.GetAsync returning NULL
body: <p>I am trying to send an <code>HttpClient</code> request to an API but the content of my response is consistently <code>NULL</code>. When I try to send the exact same GET request through Postman I see that data is indeed being returned.  Additionally, when I inspected the request from my app using Fiddler I also see that XML data is returned. Any ideas as to why I am seeing <code>NULL</code> when I set a breakpoint in VS?  </p>
  
  <p>Both the <code>response</code> variable and the <code>xml</code> variable in the code below are being set to <code>NULL</code> despite there being actual content returned from the GET request.</p>
  
  <pre><code>static void Main(string[] args)
  {
      RunAsync().Wait();
  }
  static async Task RunAsync()
  {
      using (var client = new HttpClient())
      {
          client.BaseAddress = new Uri(URL);
  
          var response = await client.GetAsync(urlParameters);
          if (response.IsSuccessStatusCode)
          {
              var xml = await response.Content.ReadAsStringAsync();
              var ds = new XmlSerializer(typeof(trainData), new XmlRootAttribute("ctatt"));
              using (StringReader sr = new StringReader(xml))
              {
                  using (XmlReader xr = XmlReader.Create(sr))
                  {
                      var trainData = (trainData)ds.Deserialize(xr);
                      Console.WriteLine("Station Name: {0}\nRoute Name: {1}\nArrival Time: {2}", trainData.stationName, trainData.routeName, trainData.arrTime);
                  }
              }
          }
          else
          {
              Console.WriteLine("There was an error!");
          }
      }
  }
  </code></pre>