Added a handler for messages which contain URLs