Replace localhost with Avalon host name when sending URLs to clients