Added socket data listener