https://github.com/SignalR/SignalR/pull/1872/files#r3802973