Create class.chat.php

Class that represents a chat message.