enabled text data to be transferred to server

enabled text data to be transferred to server and installed socket.io
module