socket.io implementation & bridging