example retrieving hosts and services using unix socket