use std::string for hostname and service

Change-Id: Ief5e3336922017823e5424626aca01e94496ac5b
Signed-off-by: Alessandro Salvatori <sandr8@gmail.com>