Python implementation of engine.io