closes #879 Detect useragent to use http://ip/glpi/ as communication URL
closes #879 Detect useragent to use http://ip/glpi/ as communication URL

TECLIB/fusioninventory-for-glpi,TECLIB/fusioninventory-for-glpi,TECLIB/fusioninventory-for-glpi,mohierf/fusioninventory-for-glpi,itinside/fusioninventory-for-glpi,TECLIB/fusioninventory-for-glpi,dethegeek/fusioninventory-for-glpi,orthagh/fusioninventory-for-glpi,fusioninventory/fusioninventory-for-glpi,orthagh/fusioninventory-for-glpi,mohierf/fusioninventory-for-glpi,mohierf/fusioninventory-for-glpi,dethegeek/fusioninventory-for-glpi,itinside/fusioninventory-for-glpi,fusioninventory/fusioninventory-for-glpi,dethegeek/fusioninventory-for-glpi,mohierf/fusioninventory-for-glpi,fusioninventory/fusioninventory-for-glpi,itinside/fusioninventory-for-glpi,TECLIB/fusioninventory-for-glpi,mohierf/fusioninventory-for-glpi,fusioninventory/fusioninventory-for-glpi,TECLIB/fusioninventory-for-glpi,itinside/fusioninventory-for-glpi,itinside/fusioninventory-for-glpi,orthagh/fusioninventory-for-glpi,orthagh/fusioninventory-for-glpi,fusioninventory/fusioninventory-for-glpi,dethegeek/fusioninventory-for-glpi,orthagh/fusioninventory-for-glpi,mohierf/fusioninventory-for-glpi,fusioninventory/fusioninventory-for-glpi