Fix HTTP polling connection

It was broken since 5966296f. Tested on IE6.