Added example socket.io frontend code