Added a mechanism in server to check if a client is greeted.