streaming interface to engine.io for client and server