title: Cross domain requests not working in SignalR 2.0.0-rc1
body: <p>I recently upgraded a project from SignalR 2.0.0-beta1 to 2.0.0-rc1. I understand that in RC1, configuration of support for cross domain requests changed. I've updated my project to use the new syntax however I'm now getting the following error when attempting to communicate with my hub:</p>
  
  <blockquote>
    <p>XMLHttpRequest cannot load
    =1377623738064">http://localhost:8080/negotiate?connectionData=%5B%7B%22name%22%3A%22chathub%22%7D%5D&amp;clientProtocol=1.3&amp;=1377623738064.
    Origin <code>http://localhost:7176</code> is not allowed by
    Access-Control-Allow-Origin.</p>
  </blockquote>
  
  <p>The client site is running at <code>http://localhost:7176</code> and the hub is listening via a console application at <code>http://localhost:8080</code>. Am I missing something here? Cross domain requests were working before I upgraded to RC1.</p>
  
  <p><strong>CONSOLE APP ENTRY POINT</strong></p>
  
  <pre><code>static void Main(string[] args)
  {
      var chatServer = new ChatServer();
      string endpoint = "http://localhost:8080";
  
      chatServer.Start(endpoint);
  
      Console.WriteLine("Chat server listening at {0}...", endpoint);
      Console.ReadLine();
  }
  </code></pre>
  
  <p><strong>CHATSERVER CLASS</strong></p>
  
  <pre><code>public class ChatServer
  {
      public IDisposable Start(string url)
      {
          return WebApp.Start&lt;Startup&gt;(url);
      }
  }
  </code></pre>
  
  <p><strong>STARTUP CONFIGURATION</strong></p>
  
  <pre><code>public class Startup
  {
      public void Configuration(IAppBuilder app)
      {
          app.Map("/signalr", map =&gt;
          {
              map.UseCors(CorsOptions.AllowAll);
              map.RunSignalR(new HubConfiguration { EnableJSONP = true });
          });
      }
  }
  </code></pre>