[www] build webservice uri relative to hostname