play with event emitters and basic chat server using net and sockets