tested with jsonp and pusher client