Patch 1

Updated for SignalR 2.0 Compatibility (Protocol 1.2 to Protocol 1.3).

Note that using protocol 1.3 will still work with a server using protocol 1.2 (Such as SignalR v1.2), though it will send some extra information on the negotiate GET request and send POST requests that will be disregarded.  Upgrading the server requires some modifications summarized here:
http://www.asp.net/signalr/overview/signalr-20/getting-started-with-signalr-20/upgrading-signalr-1x-projects-to-20

A possible improvement would be to not send the hub names (connectionData) when the send POST request is made and the protocol version is 1.2.