issue-22: Using hostname-ip instead of just hostname for agent.id

Using hostname-ip instead of just hostname for agent.id