title: Weired exception in signalR related to type System.Net.Http.WebRequestHandler
body: <p>Created a server signalR application successfully and I am able to view the created JavaScript code template by navigating to <a href="http://localhost:11914/signalr/hubs" rel="nofollow noreferrer">http://localhost:11914/signalr/hubs</a>. </p>
  
  <p>The client application is a .NET 4.6.2 web api created with the recent template by Visual Studio 2017 latest RC. When I execute the code below:</p>
  
  <pre><code>    var hubConnection = new HubConnection("http://localhost:11914");
      var hubProxy = hubConnection.CreateHubProxy("cache");
      hubProxy.On&lt;CachedObjectInfo&gt;("sendUpdateNotification", cachedObject =&gt; RefreshMemory(cachedObject));
      await hubConnection.Start();
  </code></pre>
  
  <p>I receive the exception below in when hitting <code>await hubConnection.Start();</code></p>
  
  <pre><code>type: 'System.Net.Http.WebRequestHandler'. Derived types must either match the security accessibility of the base type or be less accessible.'
  </code></pre>
  
  <p>The client singalR application leverages Microsoft.AspNet.SignalR.Client version 2.2.1 package.</p>
  
  <p>I have no idea why I should be receiving such an exception and I could not find any solutions. What's the root cause and how to mitigate it?</p>