add socket.io example support