json-polling transport for polysocket