Adding a messageHanlder functionality that acts when a link is posted in the chat