XHR-polling support to socket.io

This patch fixes issue #35
Merge pull request #129 from omailson/xhrpolling

XHR-polling support to socket.io