learning nodejs by coding chat server and client