Message input utility. Checks the length of input message. This is not a server program that insert the message into database.