Simple chat service using sockets