Added a fix for #155

Solves some problems with xhr-polling and jsonp-polling with the latest gevent