Add hyperlinks to messages and move preprocessing to server