JS client fix for #1703

- Append "/poll" to polling attempts in case the URL ends with "/hubs"
Report errors properly to handlers in JS
.NET client fix for #1703

- Append "/poll" to polling attempts in case the URL ends with "/hubs"
Standardizing on '+=' for appending to the url in the JS client