New branch Master+entity url

Add an agent_base_url parameter for each entity; if this parameter is defined it is used instead of the same parameter defined in the plugin configuration.