Fixes #120 cleanup long polling connections when a timeout or a connection error happens
improvements to run javascript tests on IE8
Fixes #88 using XDomainRequest for cross domain requests when it is available
publish the message to all connected channels in javascript sendMessage function like when using websocket connection
simplify loadFrame function when using ActiveXObject("htmlfile")