A socket base chat client and server