Python implementation of socket.io