replace urls in chat messages