refactoring of communication, keeping track of long-poll and sync connection explicitely
refactoring of communication, keeping track of long-poll and sync connection explicitely

bp2010h1/orca,bp2010h1/orca