Append "/poll" to polling attempts in case the URL ends with "/hubs"

#1707