basic jsonp support, useful for cross-domain without websockets